#!/usr/bin/env python3
# -*- coding: utf-8 -*-

"""
图表常量定义
"""

# 图表类型常量 (以索引为关键字)
CHART_TYPE_BAR = 0        # 柱状图
CHART_TYPE_LINE = 1       # 折线图
CHART_TYPE_PIE = 2        # 饼图
CHART_TYPE_SCATTER = 3    # 散点图
CHART_TYPE_BOX = 4        # 箱线图
CHART_TYPE_HISTOGRAM = 5  # 直方图
CHART_TYPE_HEATMAP = 6    # 热力图
CHART_TYPE_AREA = 7       # 面积图

# 图表类型列表 - 与索引对应
CHART_TYPES = [
    CHART_TYPE_BAR,
    CHART_TYPE_LINE,
    CHART_TYPE_PIE,
    CHART_TYPE_SCATTER,
    CHART_TYPE_BOX,
    CHART_TYPE_HISTOGRAM,
    CHART_TYPE_HEATMAP,
    CHART_TYPE_AREA
] 